package grp.test.dao;

import grp.test.pojo.Borrow;
import grp.test.pojo.BorrowKey;

public interface BorrowMapper {
    int deleteByPrimaryKey(BorrowKey key);

    int insert(Borrow record);

    int insertSelective(Borrow record);

    Borrow selectByPrimaryKey(BorrowKey key);

    int updateByPrimaryKeySelective(Borrow record);

    int updateByPrimaryKey(Borrow record);

    double queryPay(BorrowKey key);
}